.memberContent {
  flex: 1;
  overflow-y: auto;
  background-color: var(--theme-bg-secondary);
  padding-bottom: calc(24px + env(safe-area-inset-bottom));
}

.memberIntro {
  padding: 16px 20px;
  background: white;
  border-bottom: 1px solid #eee;

  .introCard {
    background: var(--theme-bg-warning);
    padding: 12px;
    border-radius: 12px;

    .introTitle {
      display: flex;
      align-items: center;
      margin-bottom: 8px;
      font-weight: 500;
      
      i {
        color: var(--theme-accent-warning);
        margin-right: 8px;
      }
    }

    .introText {
      font-size: 14px;
      color: var(--theme-text-muted);
      line-height: 1.5;
    }
  }
}

.memberSection {
  padding: 16px 20px;

  .sectionTitle {
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    margin-bottom: 12px;

    .titleBar {
      width: 4px;
      height: 20px;
      background: var(--theme-accent-warning);
      border-radius: 2px;
      margin-right: 8px;

      &.titleBarYellow {
        background: var(--theme-accent-warning);
      }

      &.titleBarBlue {
        background: var(--theme-accent-info);
      }
    }
  }
}

.membershipCard {
  background: white;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;

  &.hotCard {
    border: 2px solid var(--theme-accent-warning);
  }

  .hotBadge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--theme-accent-danger);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
  }

  .cardHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;

    .cardLeft {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .cardIcon {
      width: 48px;
      height: 48px;
      border-radius: 24px;
      background: var(--theme-bg-secondary);
      display: flex;
      align-items: center;
      justify-content: center;

      i {
        font-size: 24px;
        color: var(--theme-text-muted);
      }
    }

    .cardInfo {
      h4 {
        font-size: 18px;
        font-weight: bold;
        margin: 0;
      }

      p {
        color: var(--theme-text-muted);
        font-size: 14px;
        margin: 4px 0 0 0;
      }
    }

    .currentBadge {
      padding: 4px 12px;
      background: var(--theme-bg-secondary);
      color: var(--theme-text-muted);
      border-radius: 12px;
      font-size: 12px;
    }
  }

  .cardFeatures {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 16px 0;

    .feature, .featureDisabled {
      display: flex;
      align-items: center;
      font-size: 14px;
      gap: 8px;
    }

    .feature {
      .checkIcon {
        color: var(--theme-success);
      }
    }

    .featureDisabled {
      color: var(--theme-text-muted);
      i {
        color: #ddd;
      }
    }
  }

  .diamondInfo {
    background: var(--theme-bg-warning);
    padding: 12px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0;

    i {
      color: var(--theme-accent-warning);
    }

    b {
      color: var(--theme-accent-warning);
      font-size: 20px;
      margin: 0 4px;
    }
  }

  .cardButton {
    button {
      width: 100%;
      padding: 12px;
      border-radius: 8px;
      border: none;
      font-weight: 500;
      font-size: 16px;
      cursor: pointer;

      &.currentLevel {
        background: var(--theme-bg-secondary);
        color: var(--theme-text-muted);
      }

      &.upgrade {
        background: var(--theme-accent-warning);
        color: white;
      }
    }
  }
}

.cardIcon {
  &.greenIcon {
    background: var(--theme-bg-success);
    i { color: var(--theme-success); }
  }
  
  &.orangeIcon {
    background: var(--theme-bg-warning);
    i { color: var(--theme-accent-warning); }
  }
  
  &.yellowIcon {
    background: var(--theme-bg-warning);
    i { color: var(--theme-accent-warning); }
  }
  
  &.blueIcon {
    background: var(--theme-bg-info);
    i { color: var(--theme-accent-info); }
  }
  
  &.purpleIcon {
    background: var(--theme-bg-secondary);
    i { color: var(--theme-accent-info); }
  }
}

.upgrade {
  background: var(--theme-accent-warning);
  color: white;
  
  &:hover {
    filter: brightness(0.9);
  }
  
  &:active {
    transform: scale(0.98);
  }
}